package com.itheima.Operator;

public class 三元运算符 {
    public static void main(String[] args) {
        int a = 9;
        String rs = a >= 60? "考试通过" : "考试不通过";

        System.out.println(rs);


        //需求：从两个整数中找到较大的值
        int c = 1000;
        int d = 10000;
        int max = c > d ? c : d;
        System.out.println(max );
    }
}
